package cn.com.joycode.nimble.starter.examples;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface NewsRepository extends ElasticsearchRepository<News, String> {

    List<News> findByNameLike(String name);

}
